diff options
| author | Adam Soltys <[email protected]> | 2024-04-18 11:44:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-04-18 11:44:28 -0700 |
| commit | 0bc5b95562d0c527d3ced3ab66fbb66ba651d67a (patch) | |
| tree | 15d43f281ac56f2b8e431331dcd0c5c47cde1c9d /src/routes/(app)/[username] | |
| parent | 73169e1336333b2bd450584a117c8057876d0b9c (diff) | |
| download | coinos-ui-0bc5b95562d0c527d3ced3ab66fbb66ba651d67a.tar.gz coinos-ui-0bc5b95562d0c527d3ced3ab66fbb66ba651d67a.zip | |
checkout tweaks
Diffstat (limited to 'src/routes/(app)/[username]')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[id]/+page.svelte | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 9fe179eb..9a34117e 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -294,7 +294,7 @@ </div> </div> </button> - {:else if user.username !== subject.username} + {:else if user?.username !== subject.username} <a href={`/pay/${subject.username}`} class="contents"> <button class="rounded-2xl py-5 px-6 font-bold hover:bg-neutral-700 flex bg-black text-white mx-auto" diff --git a/src/routes/(app)/[username]/invoice/[id]/+page.svelte b/src/routes/(app)/[username]/invoice/[id]/+page.svelte index c1f55fd0..1a569039 100644 --- a/src/routes/(app)/[username]/invoice/[id]/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[id]/+page.svelte @@ -179,11 +179,11 @@ <button type="button" - class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-5 px-6 w-full mx-auto justify-center border bg-black text-white text-xl whitespace-nowrap" + class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-5 px-6 w-full mx-auto justify-center border text-xl whitespace-nowrap" on:click={() => copy(txt)} > - <Icon icon="copy" style="w-8 my-auto invert" /> - <div class="my-auto font-bold"> + <Icon icon="copy" style="w-8 my-auto" /> + <div class="my-auto"> {txt.substr(0, 11)}..{txt.substr(-10)} </div> </button> |
